// 系统管理
export default {
  path: '/sys',
  component: () => import('@/layout'),
  permission: 'sys',
  meta: { title: '系统管理', icon: 'el-icon-setting' },
  children: [
    // 角色管理
    {
      path: 'role',
      permission: 'sys:role:list',
      component: () => import('@/views/System/Role/index'),
      meta: { title: '角色管理' }
    },
    // 角色编辑器
    {
      path: 'role/editor',
      hidden: true,
      permission: 'sys:role:add_edit',
      component: () => import('@/views/System/Role/RoleEditor'),
      meta: { title: '角色编辑器' }
    },
    // 员工管理
    {
      path: 'user',
      permission: 'sys:user:list',
      component: () => import('@/views/System/Employee/index'),
      meta: { title: '员工管理' }
    }]
}
